file = open("table.txt", "w")
meandr = True
delta = 0
for	i in range(16):
	T = 1e6 / ((i + 1) * 100)
	if meandr: T /= 2
	D = 2**16 - T - 1 - delta
	if i % 4 == 0:
		print >> file
		print >> file, "dw",
	print >> file, "%4xh," % (D), 
file.close()	
# raw_input()